package com.xlb.model.vo.wiki;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 小聋包
 * @date 2024/6/4
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "更新知识库目录数据入参 VO")

public class UpdateWikiCatalogReqVO {

    @NotNull(message = "知识库目录id不能为空")
    @ApiModelProperty(value = "知识库目录id")
    private Long id;

    @Valid
    @ApiModelProperty(value = "知识库目录列表")
    private List<UpdateWikiCatalogItemReqVO> catalogs;
}
